@import '../../../core/index';

.mobile-right-toolbar-wrapper {
    position: absolute;
    right: 0;
    bottom: 15/@remScale;
    z-index: 2;
    .mobile-right-icon-wrapper {
        width: @toolBar-pc-width;
        height: @toolBar-pc-height;
        text-align: center;
        line-height: @toolBar-pc-height;
        background: rgba(0, 0, 0, .8);
        //transition: width .2s linear;
        transition: width .1s .2s linear, border-radius .1s .1s;
        font-size: 15/@remScale;
        color: @white;
        position: relative;
        cursor: pointer;
        display: flex;
        padding: 0 20/@remScale;
        align-items: center;
        .icon-wrapper {
            flex: 0 0 30/@remScale;
        }
        .text {
            flex: 1;
        }
        .icon {
            width: 12/@remScale;
            height: 12/@remScale;
            color: #FFffff !important;
        }
        &.active {
            //transition: width .2s linear;
            transition: width .1s .1s linear;
            width: @toolBar-pc-width;
        }
        &:hover {
            background: rgba(29, 176, 231, .8);
        }
        @media (max-width: @max1) {
            width: 40/@remScale;
            height: @toolBar-phone-height;
            line-height: @toolBar-phone-height;
            border-top-left-radius: 20/@remScale;
            border-bottom-left-radius: 20/@remScale;
            background: rgba(29, 176, 231, .8);
            padding: 0 5/@remScale;
            .icon-wrapper {
                flex: 1;
            }

            .text {
                display: none;
            }

            &.active {
                width: @toolBar-phone-width;
                border-top-left-radius: 0/@remScale;
                border-bottom-left-radius: 10/@remScale;
            }
        }
    }
    @media(max-width: @max1){
        display: none;
    }
}
